ARG DEBEZIUM_VERSION
FROM quay.io/debezium/connect:${DEBEZIUM_VERSION}
ENV KAFKA_CONNECT_MNIST_DIR=$KAFKA_CONNECT_PLUGINS_DIR/kafka-connect-mnist

RUN mkdir $KAFKA_CONNECT_MNIST_DIR
COPY mnist-smt/target/mnist-to-csv-1.0-SNAPSHOT.jar $KAFKA_CONNECT_MNIST_DIR